package com.ddwl.schema.bo.data;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.time.Instant;

/**
 * @Author hemiaojun
 * @Date 2020/11/10 16:19
 */
@Getter
@Setter
@ApiModel("操作日志vo")
public class OperateLogVo {

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("操作用户账号")
    private String userName;

    @ApiModelProperty("操作用户id")
    private String operateId;

    @ApiModelProperty("操作用户昵称")
    private String operateName;

    @ApiModelProperty("ip")
    private String ip;

    @ApiModelProperty("资源路径")
    private String uri;

    @ApiModelProperty("描述")
    private String description;

    @ApiModelProperty("操作时间")
    private Instant operateTime;

    @ApiModelProperty("渠道 1：分销app，2：小程序，3：H5")
    private String channel;

    @ApiModelProperty("创建时间")
    private Instant gmtCreated;

    @ApiModelProperty("修改时间")
    private Instant gmtModified;

}
